package org.duang.core;



public class Service {

//	private Mongo mongo = Mongo.getInstance();
//	
//	public MongoCollection<Document> getCollection(final String databaseName, final String collectionName ){
//		if(ToolUtil.isEmpty(databaseName)) throw new ServiceException(ResCodeEnums.DBNAME_PARAM_EMPTY);
//		if(ToolUtil.isEmpty(collectionName)) throw new ServiceException(ResCodeEnums.COLLECTIONNAME_PARAM_EMPTY);
//		MongoCollection<Document> collection = mongo.getCollection(databaseName, collectionName);
//		return ToolUtil.isEmpty(collection) ? null : collection;
//	}
//	
}
